package com.canic.dkd.authorization.staff.service;

import com.baomidou.mybatisplus.service.IService;
import com.canic.dkd.authorization.staff.entity.SysPermission;
import com.canic.dkd.authorization.staff.entity.SysRole;
import com.canic.dkd.authorization.staff.entity.SysUser;

import java.util.List;

/**
 * 用户
 * @author ZC
 * @since 2019-05-02
 */
public interface SysUserService extends IService<SysUser> {

    List<SysPermission> getPermissionListByUserId(String userId);

    List<SysRole> getRoleListByUserId(String userId);

    SysUser getUserByName(String userName);

}
